{extend name="public/common"} {block name="body"}
<title>基本设置</title>
</head>
<style type="text/css">
.bg-1 {
    height: 40px;
    background-color: #e5e5e5 !important;
    border-bottom: 1px solid #e4e7ed;
}
 .radius:hover{
 	background:#e5e5e5;
 	border-color: #e5e5e5;
 	color: #333;
 }
 span:hover{
 	color: #333;
 }
 .line{
 	position: absolute;
		    right: 0;
		    top: 13px;
		    background: #636363;
		    width: 1px;
		    height: 14px;
		    overflow: hidden;
 }
 .radius{
 	position: relative;
 }
 .text-c td a {
    text-decoration: none !important;
    color: #333;
}
</style>
<body>
  <nav class="breadcrumb">
    <i class="Hui-iconfont">&#xe67f;</i>
    注单管理
    
    <span class="c-gray en">&gt;</span>
    注单分析
    <a class="btn btn-success radius r"
      style="line-height: 1.6em; margin-top: 3px"
      href="javascript:location.replace(location.href);" title="刷新">
      <i class="Hui-iconfont">&#xe68f;</i>
    </a>
  </nav>
  
  <div style="padding:20px;height:30px;">
  	
  	<div class="new_box">
  
  <div class="text-c" style="padding :20px 0;">
    <form action="" enctype="application/x-www-form-urlencoded" method="get" class="l" style="margin-left:20px;">
    
    
     
    <input type="text" name="sDate1" value="" id="sDate1" onfocus="WdatePicker({maxDate:'%y-%M-%d'})"  class="input-text Wdate" style="width:120px;">
     到：
    <input type="text" onfocus="WdatePicker({maxDate:'%y-%M-%d'})" name="sDate2" value=""  id="sDate2"  class="input-text Wdate" style="width:120px;margin-right:15px;">
   <!--  <input type="text" id="us_sqlus_sql" name="us_sql" value="" placeholder=" 会员名称" style="width:150px" class="input-text"> -->
    <input type="hidden" name="limit" value=""  style="width:150px" class="input-text">
    <button class="btn btn-success" type="submit" style="margin-right:20px;"><i class="Hui-iconfont">&#xe665;</i> 搜索</button>
    
  </form>
  <!--<a style="display:inline-block;" class="btn btn-primary" href="javascript:history.go(-1);">返回</a>-->
  </div>
  
  <div class="page-container dataTables_wrapper">
      <div id="tab-system" class="HuiTab">
        <div class="tabCon">
          <div class="mt-20">
            <table
              class="table table-border table-bordered table-bg table-hover table-sort table-responsive">
              <thead>
                <tr class="text-c">
                 
                  <th>投注彩种</th>
                  <th>总投注金额</th>
                  <th>有效投注金额</th>
                  <th>总派彩金额</th>
                  <th>总注数</th>
                  <th>赢(注)</th>
                  <th>输(注)</th>
                  <th>胜率</th>
                  <th>等级</th>
                  <th>盈亏</th>
                 
                </tr>
              </thead>
              <tbody>
  {volist name="list" id="v"}            
                <tr class="text-c">
                 
                  <td>{$v.cp_name_old}</td>
                  <td>{$v.count_zong}</td>
                  <td>{$v.count_ok}</td>
                  <td>{$v.paicai_zong}</td>
                  <td>{$v.zhushu_zong}</td>
                  <td>{$v.zhushu_ying}</td>
                  <td>{$v.zhushu_shu}</td>
                  <td>{$v.shenglv}{if condition="$v.shenglv neq ''"}%{/if}</td>
                  <td style="color: {if $v.dengji=='高'}red{/if}{if $v.dengji=='中'}blue{/if}{if $v.dengji=='低'}green{/if}">{$v.dengji}</td>
                  <td>{$v.yingkui}</td>
                </tr>
  {/volist}              
              </tbody>
            </table>
          </div>
        </div>
      </div>
      
       <!-- <div class="dataTables_paginate paging_simple_numbers" style="width:100%;">
              <div style="float:left;">  
                每页显示<select name="limit" style="height:26px;" id="code">
                    <option value="20" {if condition="$limit eq 20"}selected{/if}>
                20
              </option>
              <option value="50" {if condition="$limit eq 50"}selected{/if}>
                50
              </option>
              <option value="100" {if condition="$limit eq 100"}selected{/if}>
                100
              </option>
                </select>条
           </div>
            <span style="float:right;margin-left:-2px;">总共{$list->lastPage()}页  当前第{$list->currentPage()}页 ，共{$list->total()}条</span>
            <div style="float:left;">{$list->render()}</div>
           </div> -->
  </div>
  
  </div>
      
  </div>
{/block}

{block name="js"}
  <script type="text/javascript" src="__SYSMET__/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
  <script type="text/javascript">
  $("#code").on('change',function(){
		var id = $(this).find('option:selected').val();
		window.location.href="/admin/betting/zd_fenxi?limit="+id;
	})
    $(function() {
      $('.skin-minimal input').iCheck({
        checkboxClass : 'icheckbox-blue',
        radioClass : 'iradio-blue',
        increaseArea : '20%'
      });
      $("#tab-system").Huitab({
        index : 0
      });
    });
    

</script>

{/block}
